
import DVDPro2Sage.*;

class testDVDPro2Sage {

	public static void main(String args[]) {
		DVDPro2Sage database = new DVDPro2Sage("Collection.3.5.xml");
		for (int i = 0; i < database.getNumCollection(); i++) {
			System.out.println("ParentTitle = " + database.getParentTitle(i));
			System.out.println("  Title = " + database.getTitle(i));
			System.out.println("  Folder = " + database.getFolder(i));
			for (Object genre : database.getGenres(i)) {
				if (genre != null) {
					System.out.println("  Genre = " + genre);
				}
			}
		}
	}
}


